########################
## EEP Modena Events  ##
##   by Isaac Brock   ##
########################

#The Duchy of Modena#
event = {
	id = 17434
	random = no
	country = PAR
	name = "EVENTNAME17434"
	desc = "EVENTHIST17434"
	style = 1
	date = { day = 1 month = january year = 1452 }
	offset = 360
	deathdate = { day = 31 month = december year = 1452 }
	
	action_a ={
		name = "ACTIONNAME17434A"
		command = { type = relation which = HAB value = 20} 
		command = { type = treasury value = -50 } 
		command = { type = stability value = 1} 
	}
}

#The loss of Ferrara#
event = {
	id = 17435
	trigger = { exists = PAP}
	random = no
	country = PAR
	style = 3
	date = { day = 27 month = october year = 1597 }#death of Alfonso
	name = "EVENTNAME17435"
	desc = "EVENTHIST17435"

	action_a ={
		name = "ACTIONNAME17435A"	
		command = { type = infra value = 500 }
		command = { type = domestic which = centralization value = 1}
		command = { type = provincetax   which = 402 value = -1 }
		command = { type = provincemanpower   which = 402 value = -1 }
		command = { type = relation which = PAP value = -100} 
	}

}

# The Castro War #
# modeled after League of Cambrai#
event = {
	id = 17436
	trigger = { 
		exists = PAP 
		event = 17435
		}
	random = no
	country = PAR
	name = "EVENTNAME17436"
	desc = "EVENTHIST17436"
	style = 3
	date = { day = 10 month = october year = 1641 }#siege of Castro
	offset = 600
	deathdate = { day = 1 month = june year = 1643 }#first allied campaign
	action_a ={
		name = "ACTIONNAME17436A"		#Express Support#
		command = { type = casusbelli which = PAP value = 72 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = TOS value = 150 }
		command = { type = relation which = VEN value = 150 }
	}
	action_b ={
		name = "ACTIONNAME17436B"		#Ignore#
		command = { type = relation which = PAP value = 50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = TOS value = -50 }
	}
	action_c ={
		name = "ACTIONNAME17436C"		#Express Hostility#
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = TOS value = -150 }
	}
}

event = {
	id = 17439
	trigger = {
		exists = HAB 
		NOT = { war   = { country = PAR country = HAB } 
		}
	}
	random = no
	country = PAR
	name = "EVENTNAME17439"
	desc = "EVENTHIST17439"
	style = 4
	date = { day = 24 month = december year = 1806 }
	action_a = {
		name = "ACTIONNAME3373A"
		command = { type = relation which = HAB value = 100 }
		command = { type = trigger   which = 17440 }
		}
}

